﻿using System;
using System.Collections.Generic;
using _5E.Infrastructure.Domain;

namespace WholesaleOnline.Model
{
    partial class WoProduct : EntityBase<Guid>, IAggregateRoot
    {
        private IList<WoProductAttribute> m_Attributes = new List<WoProductAttribute>();
        public virtual IList<WoProductAttribute> Attributes
        {
            get { return m_Attributes; }
            set { m_Attributes = value; }
        }

        private WoSeller m_Seller = null;
        public virtual WoSeller Seller
        {
            get { return m_Seller; }
            set { m_Seller = value; }
        }

        private IList<WoProductBigUnit> m_BigUnits = new List<WoProductBigUnit>(0);
        public virtual IList<WoProductBigUnit> BigUnits
        {
            get { return m_BigUnits; }
            set { m_BigUnits = value; }
        }

        private WoAttribute m_Unit = null;
        public virtual WoAttribute Unit
        {
            get { return m_Unit; }
            set { m_Unit = value; }
        }

        protected override void Validate()
        {
            throw new NotImplementedException();
        }
    }
}
